<?php

namespace App\Models\ChatGroup;

use App\Models\BaseModel;
use App\Models\Traits\KfSoftDeletes;
use App\Models\Traits\KfUid;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;

class ChatGroupSessionAppraiseModel extends BaseModel
{
    protected $fillable = [
        'groupId',
        'sessionId',
        'shopId',
        'uid',
        'score',
        'solve'
    ];

    protected $table = 'chat_group_session_appraise';

    /*
     * solve 解决
     */
    const SOLVE_YES = 1; // 已解决
    const SOLVE_NO  = 2; // 未解决

    const SOLVE_MAPPING = [
        self::SOLVE_NO  => '未解决',
        self::SOLVE_YES => '已解决',
    ];
}
